package com.lagou.mvc.framework.pojo;

import java.lang.reflect.Method;
import java.util.List;
import java.util.regex.Pattern;

/**
 * @ClassName Handler
 * @Description
 * @Author playboy
 * @Date 2021/4/29 4:48 下午
 * @Version 1.0
 **/
public class Handler {

	//Object
	private Object obj;

	//URL
	private Pattern pattern;

	//参数位置信息
	private String[] args;

	//Method
	private Method method;

	//有访问权限的人的集合
	private List<String> users;

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	public Pattern getPattern() {
		return pattern;
	}

	public void setPattern(Pattern pattern) {
		this.pattern = pattern;
	}

	public String[] getArgs() {
		return args;
	}

	public void setArgs(String[] args) {
		this.args = args;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public List<String> getUsers() {
		return users;
	}

	public void setUsers(List<String> users) {
		this.users = users;
	}
}
